package task

import "smart-flow/server/config"

func InitTask() {
	StartCheckFinishedAgent()
	if config.AppConfig().Clean.Redetect == 1 {
		StartCheckDetectAgent()
	}
	if config.AppConfig().Clean.Align == 1 {
		StartCheckAlign()
	}
}
